<?php
session_start();

require_once("lib/Main.class.php");
$main = new Main();
?>
<html>
<head>
	<title>MediaDevil - <?php $main->getPageInfo->_currentpage; ?></title>
<?php 
	foreach($main->getCSS() as $css) 
	{
		echo "\t".'<link rel="stylesheet" type="text/css" href="./css/'.$css.".css\" />\n";   
	} 
?>
	<link rel="stylesheet" type="text/css" href="./css/menu.css" />
	<link rel="stylesheet" type="text/css" href="./css/roar.css" />
	<script type="text/javascript" src="./js/moo.js"></script>
	<script type="text/javascript" src="./js/menu.js"></script>
	<script type="text/javascript">
		function debug()
		{
			document.getElementById('top').style.display = 'none';
		}
	</script>
</head>
<body onload="debug()">
	<div id="container">
		<div id="top">
			<ul class="kwicks">
				<li>
					<a class="kwick audio" style="width: 125px;"><span>Audio</span></a>
				</li>
				<li>
					<a class="kwick video" style="width: 125px;"><span>Video</span></a>
				</li>
				<li>
					<a class="kwick photo" style="width: 125px;"><span>Photo</span></a>
				</li>
				<li>
					<a class="kwick book" style="width: 125px;"><span>Book</span></a>
				</li>
				<li>
					<a class="kwick software" style="width: 125px;"><span>Software</span></a>
				</li>
			</ul>
		</div>

		<div id="floatfix">
			<div id="menu">
				Home
			</div>
			<div id="content">
				<?php //$main->getModule($_GET['module'], $_GET['media'], $_GET['id']); ?>
			</div>
		</div>
		<div id="end">heey</div>
	</div>
</body>
</html>  
